class ControlGroup < ActiveRecord::Base
	belongs_to :section
	has_many :target_question_boxes
	has_many :candidates,:through => :target_question_boxes
	has_many :orgs,:through =>:target_question_boxes
	has_many :questions,:through => :target_question_boxes

	accepts_nested_attributes_for :target_question_boxes, :allow_destroy => true

end
